package cn.dxh.stagefinal.dao;

import cn.dxh.stagefinal.bean.Department;

import java.util.List;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/10 9:36
 *
 * @author zmyao
 * 别看，我是渣渣。
 */

public interface DepartmentDao {
 int   insertDepartment(Department department);
 List<Department> findDepartments();
 int deleteDepartmentByDid(Integer dId);
 Department  findDepartmentByDid(Integer dId);
 int updatedepartment(Department department);
}
